<?php  include('config.inc.php');

/**
 * @author Jerry
 */
Co::init();

Co::Config('Sys', array('host'=>'localhost', 'db_name'=>'mobile580','db_user'=>'jiewei','db_pass'=>'123456'));

$config = array
(
	'driver'         => 'cookie',
	'storage'        => '',
	'name'           => 'shop',
	'validate'       => array('user_agent'),
	'encryption'     => FALSE,
	'expiration'     => 7200,
	'regenerate'     => 3,
	'gc_probability' => 2
);

Co::Config('Session', $config);

$nologin = array('index_index', 'user_login', 'user_logout', 'upload_attach');

Co::Config('nologin', $nologin);

?>